/*
 * Created on 27/04/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo;

import java.math.BigDecimal;
import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.ControlEliminar;
import com.stefanini.pe.bbva.mbl.carga.in.to.EliminarDetalle;
import com.stefanini.pe.bbva.mbl.in.bo.iface.EliminarDetalleBO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.ControlEliminarDAO;
import com.stefanini.pe.bbva.mbl.in.dao.iface.EliminarDetalleDAO;

/**
 * @author lguerra
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class EliminarDetalleBOImpl implements EliminarDetalleBO {

	EliminarDetalleDAO eliminarDetalleDAO;
    
    /**
     * @param bancoDAO
     */
    public EliminarDetalleBOImpl(EliminarDetalleDAO eliminarDetalleDAO) {
        super();
        this.eliminarDetalleDAO = eliminarDetalleDAO;
    }
    
    public EliminarDetalleDAO getEliminarDetalleDAO() {
		return eliminarDetalleDAO;
	}
    
    public void setEliminarDetalleDAO(EliminarDetalleDAO eliminarDetalleDAO) {
		this.eliminarDetalleDAO = eliminarDetalleDAO;
	}
    
    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#deleteByPrimaryKey(java.math.BigDecimal)
     */
    public void deleteByPrimaryKey(BigDecimal idControlEliminar) {
        // TODO Auto-generated method stub
        this.eliminarDetalleDAO.deleteByPrimaryKey(idControlEliminar);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#insert(com.stefanini.pe.bbva.mbl.carga.in.to.Banco)
     */
    public void insert(EliminarDetalle record) {
        // TODO Auto-generated method stub
        this.eliminarDetalleDAO.insert(record);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#insertSelective(com.stefanini.pe.bbva.mbl.carga.in.to.Banco)
     */
    public void insertSelective(EliminarDetalle record) {
        // TODO Auto-generated method stub
        this.insertSelective(record);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#selectByPrimaryKey(java.math.BigDecimal)
     */
    public EliminarDetalle selectByPrimaryKey(BigDecimal id_control_eliminar) {
        // TODO Auto-generated method stub
        return this.eliminarDetalleDAO.selectByPrimaryKey(id_control_eliminar);
    }
    
    public List selectByControl(BigDecimal id_control_eliminar) {
        // TODO Auto-generated method stub
        return this.eliminarDetalleDAO.selectByControl(id_control_eliminar);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#updateByPrimaryKeySelective(com.stefanini.pe.bbva.mbl.carga.in.to.Banco)
     */
    public void updateByPrimaryKeySelective(EliminarDetalle record) {
        // TODO Auto-generated method stub
        this.eliminarDetalleDAO.updateByPrimaryKeySelective(record);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#updateByPrimaryKey(com.stefanini.pe.bbva.mbl.carga.in.to.Banco)
     */
    public void updateByPrimaryKey(EliminarDetalle record) {
        // TODO Auto-eliminarDetalleDAO method stub
        this.eliminarDetalleDAO.updateByPrimaryKey(record);
    }

    /* (non-Javadoc)
     * @see com.stefanini.pe.bbva.iipg.in.bo.iface.ControlEliminarBO#selectAll()
     */
    public List selectAll() {
        // TODO Auto-generated method stub
        return this.eliminarDetalleDAO.selectAll();
    }
    
}
